﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WordNet.Core.DataContract
{
    public interface IDataProvider<T>
    {
        Uri Source { get; set; }
        IDataSource GetSourceForContentType(IContentType<T> type);
        ISet<IContentType<T>> GetTypes();
        void Open();
        bool IsOpen { get; }
        void Close();

    }
}
